const fs = require('fs');
const path = require('path');

const appDirectory = fs.realpathSync(process.cwd());

const resolveApp = (relativePath) => path.resolve(appDirectory, relativePath);

const resolveSeeyonSyf = (relativePath) =>
  path.resolve(`${appDirectory}/node_modules/@seeyon/syf/`, relativePath);

module.exports = { resolveApp, resolveSeeyonSyf };
